package Lab2;

public class Pattern2 {
    public static void main(String[] args) {
        int num = Integer.parseInt(args[0]);
        Pattern2 pattern = new Pattern2();
        pattern.creatPattern(num);
    }


    public void creatPattern(int num) {
        for (int i = 0; i < num + 1; i++) {
            for (int j = 0; j < num - i; j++) {
                System.out.print(j + 1 + " ");
            }
            System.out.println();
        }

    }
}
